package com.tledu.day62springboot.core;

import lombok.Getter;

/**
 * @author cyrus
 */
@Getter
public class CustomException extends RuntimeException {
    private Integer code;

    public CustomException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
